package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.platform.annotation.Excel;
import com.ruoyi.platform.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 在线演示对象 tp_online_show
 *
 * @author tp
 * @date 2022-11-02
 */
@ApiModel(value = "在线演示对象 tp_online_show", description = "tp_online_show业务表")
@TableName("tp_online_show")
public class OnlineShow extends BaseEntity<OnlineShow> {
    private static final long serialVersionUID = 1L;

    /**
     * 编号ID
     */
    @ApiModelProperty(value = "${comment}")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 演示名称
     */
    @Excel(name = "演示名称")
    @ApiModelProperty(value = "演示名称")
    private String name;

    /**
     * 演示说明
     */
    @Excel(name = "演示说明")
    @ApiModelProperty(value = "演示说明")
    private String description;

    /**
     * 展示链接
     */
    @Excel(name = "展示链接")
    @ApiModelProperty(value = "展示链接")
    private String showUrl;

    /**
     * 删除标志
     */
    private Integer delFlag;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }

    public void setShowUrl(String showUrl) {
        this.showUrl = showUrl;
    }

    public String getShowUrl() {
        return showUrl;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("description", getDescription())
                .append("showUrl", getShowUrl())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
